package com.eshop.modules.activity.service.dto;

import io.swagger.annotations.ApiModelProperty;

public class SeckillTimeDto
{
    private Integer id;
    @ApiModelProperty("秒杀产品时间：00:00")
    private String time;
    @ApiModelProperty("秒杀产品状态显示中文值")
    private String state;
    @ApiModelProperty("秒杀产品状态")
    private Integer status;
    @ApiModelProperty("秒杀产品停止时间")
    private Integer stop;
    
    public Integer getId() {
        return this.id;
    }
    
    public String getTime() {
        return this.time;
    }
    
    public String getState() {
        return this.state;
    }
    
    public Integer getStatus() {
        return this.status;
    }
    
    public Integer getStop() {
        return this.stop;
    }
    
    public void setId(final Integer id) {
        this.id = id;
    }
    
    public void setTime(final String time) {
        this.time = time;
    }
    
    public void setState(final String state) {
        this.state = state;
    }
    
    public void setStatus(final Integer status) {
        this.status = status;
    }
    
    public void setStop(final Integer stop) {
        this.stop = stop;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof SeckillTimeDto)) {
            return false;
        }
        final SeckillTimeDto other = (SeckillTimeDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$status = this.getStatus();
        final Object other$status = other.getStatus();
        Label_0102: {
            if (this$status == null) {
                if (other$status == null) {
                    break Label_0102;
                }
            }
            else if (this$status.equals(other$status)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$stop = this.getStop();
        final Object other$stop = other.getStop();
        Label_0139: {
            if (this$stop == null) {
                if (other$stop == null) {
                    break Label_0139;
                }
            }
            else if (this$stop.equals(other$stop)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$time = this.getTime();
        final Object other$time = other.getTime();
        Label_0176: {
            if (this$time == null) {
                if (other$time == null) {
                    break Label_0176;
                }
            }
            else if (this$time.equals(other$time)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$state = this.getState();
        final Object other$state = other.getState();
        if (this$state == null) {
            if (other$state == null) {
                return true;
            }
        }
        else if (this$state.equals(other$state)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof SeckillTimeDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $status = this.getStatus();
        result = result * 59 + (($status == null) ? 43 : $status.hashCode());
        final Object $stop = this.getStop();
        result = result * 59 + (($stop == null) ? 43 : $stop.hashCode());
        final Object $time = this.getTime();
        result = result * 59 + (($time == null) ? 43 : $time.hashCode());
        final Object $state = this.getState();
        result = result * 59 + (($state == null) ? 43 : $state.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "SeckillTimeDto(id=" + this.getId() + ", time=" + this.getTime() + ", state=" + this.getState() + ", status=" + this.getStatus() + ", stop=" + this.getStop() + ")";
    }
}
